package com.treasure.mall.biz.dto.pay;

import com.treasure.mall.biz.dto.BaseDTO;
import com.treasure.mall.biz.entity.user.UserPO;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author allan
 * @version 1.0.0
 * @date 2020/7/17
 */
@Data
public class PayDTO implements BaseDTO {
    private static final long serialVersionUID = -4115568612636524762L;
    private UserPO userPO;
    /**
     * 交易类型
     */
    private int dealType;
    /**
     * 来源(0：小程序；1：app)
     */
    private int source;
    /**
     * 金额
     */
    private BigDecimal amount;
    /**
     * 支付方式 {@link com.treasure.mall.zbq.common.ienum.order.OrderEnums.PayType}
     */
    private int payType;
    private Long sessionId;
    /**
     * 直播场次
     */
    private String liveSessionId;
    /**
     * 商家id
     */
    private long merchantId;
}
